package pers.cz.codegen.dbtools;

import java.util.List;

/**
 * @program: LuoThinking-cloud
 * @description: 表信息
 * @author: Cheng Zhi
 * @create: 2022-08-08 14:40
 **/
public class TableInfo {

    /**
     * 数据库名
     */
    private String catalog;

    /**
     * 表名
     */
    private String tableName;

    /**
     * schema
     */
    private String schema;

    /**
     * 表注释
     */
    private String comment;
    /**
     * 字段集合
     */
    private List<ColumnInfo> columnInfos;

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSchema() {
        return schema;
    }

    public void setSchema(String schema) {
        this.schema = schema;
    }

    public List<ColumnInfo> getColumnInfos() {
        return columnInfos;
    }

    public void setColumnInfos(List<ColumnInfo> columnInfos) {
        this.columnInfos = columnInfos;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
